<?php echo $this->fetch('about.header.html'); ?>
<style type="text/css">
.botton_submit{border:0;background:#ed5736;height:32px;width:85px;text-align:center;line-height:32px;font-family:"Microsoft YaHei";font-size:15px;color:#fff;cursor:pointer;border-radius:4px;}
</style>
<DIV class="content_bg">
<div class="ABanner" style="background:url(<?php echo $this->_var['adver_list']['ad_img']; ?>) no-repeat top center;"></div>
<div class="ContentAbout">
 <div class="ContentLeft">
  <div class="Lefttop"></div>
  <div class="Leftbody">
  <div class="L1">   
    <?php $_from = $this->_var['category_about']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'cate_about');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['cate_about']):
?>
    <?php if ($this->_var['cate_about']['can_show'] == 0): ?>
    <dl <?php if ($this->_var['now_about']['code'] == $this->_var['cate_about']['code']): ?>class=Choose<?php endif; ?>><a href="<?php echo $this->_var['site_url']; ?>/<?php echo url('app=article&act=abouts&code=' . $this->_var['cate_about']['code']. ''); ?>"><?php echo $this->_var['cate_about']['cate_name']; ?></a><?php if ($this->_var['cate_about']['list']): ?><span class="click_show <?php if ($this->_var['location']['0']['cate_id'] == $this->_var['key']): ?>active<?php endif; ?>" rel="<?php echo $this->_var['key']; ?>"></span><?php endif; ?></dl>
    <?php if ($this->_var['cate_about']['list'] && $this->_var['cate_about']['can_show'] == 0): ?>
      <ul id="ul<?php echo $this->_var['key']; ?>" <?php if ($this->_var['location']['0']['cate_id'] == $this->_var['key']): ?>style="display:block"<?php endif; ?>>
      <?php $_from = $this->_var['cate_about']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cate_list');if (count($_from)):
    foreach ($_from AS $this->_var['cate_list']):
?>
      <?php if ($this->_var['cate_list']['can_show'] == 0): ?>
      <li <?php if ($this->_var['now_about']['code'] == $this->_var['cate_list']['code']): ?>class=Choose<?php endif; ?>><a href="<?php echo $this->_var['site_url']; ?>/<?php echo url('app=article&act=abouts&code=' . $this->_var['cate_list']['code']. ''); ?>"><?php echo $this->_var['cate_list']['cate_name']; ?></a></li>
      <?php endif; ?>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      </ul>
    <?php endif; ?>
    <?php endif; ?>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  </div> 
  <div class="L2">
  <?php echo $this->fetch('kd_order.yundanhaobox.html'); ?>
  </div>    
  <div class="Lbo"></div>
  </div>
 </div>
 <div class="ContentRight">
 <div class="padding">
   <div class="location"><img src="<?php echo $this->res_base . "/" . 'images/about/about_content_home.gif'; ?>" /> 当前位置：<?php $_from = $this->_var['_curlocal']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'lnk');$this->_foreach['v'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['v']['total'] > 0):
    foreach ($_from AS $this->_var['lnk']):
        $this->_foreach['v']['iteration']++;
?><?php if ($this->_var['lnk']['url']): ?><a href="<?php echo $this->_var['lnk']['url']; ?>"><?php echo htmlspecialchars($this->_var['lnk']['text']); ?></a><?php if (! ($this->_foreach['v']['iteration'] == $this->_foreach['v']['total'])): ?>&nbsp;&gt;&nbsp;<?php endif; ?><?php else: ?><?php echo htmlspecialchars($this->_var['lnk']['text']); ?><?php endif; ?><?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?></div>
   <div class="Atext" style="padding-top:15px">
   <div class="text_title"><img src="<?php echo $this->res_base . "/" . 'images/about/wuliu_iocn.jpg'; ?>" align="absmiddle" /> 如果您是道达快递的合作客户，请输入您的姓名、电话、合作方代码等条件查询。</div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
     <form action="index.php?app=kd_order&act=kehu_print" method="get"><input type="hidden" value="kd_order" name="app"/><input type="hidden" value="kehu_print" name="act"/>
      <tr><td>
        姓名/电话：<input name="key" type="text" class="input_text" id="key" value="<?php echo $_GET['key']; ?>" placeholder="请输入您的姓名、电话、合作方代码" style="width:280px"/>&nbsp;&nbsp;
        <input type="submit" value="查 询" class="botton_submit" />
      </td></tr>
      <tr><td height="39"></td></tr>
      </form>
    </table>
    <table class="table_wuliu">
      <thead>
        <tr><th colspan="2" align="left"><img src="<?php echo $this->res_base . "/" . 'images/about/wuliu_iocn.gif'; ?>" align="absmiddle" /> 合作客户信息</th></tr>
      </thead>    
      <tbody>
        <?php if ($this->_var['kehu']): ?>
        <tr>
          <td width="150" align="right">姓名：</td>
          <td><?php echo ($this->_var['kehu']['lianxiren'] == '') ? '-' : $this->_var['kehu']['lianxiren']; ?></td>
          </tr>
        <tr>
          <td width="150" align="right">入仓号范围：</td>
          <td><?php echo $this->_var['kehu']['rukuhao1']; ?> - <?php echo $this->_var['kehu']['rukuhao2']; ?></td>
        </tr>
        <tr>
          <td width="150" align="right">报关单号范围：</td>
          <td><?php echo $this->_var['kehu']['baoguan1']; ?> - <?php echo $this->_var['kehu']['baoguan2']; ?></td>
        </tr>
        <?php else: ?>
        <tr>
          <td colspan="2" align="center" style="font-size:13px">请输入您的姓名、电话、合作方代码等条件查询</td>
        </tr>        
        <?php endif; ?>
        </tbody>
    </table>
    <?php if ($this->_var['rukuhao_list']): ?>
    <table class="table_wuliu">
      <thead>
        <tr><th colspan="2" align="left"><img src="<?php echo $this->res_base . "/" . 'images/about/wuliu_iocn.gif'; ?>" align="absmiddle" /> 选择入仓号码打印<font style="font-size:12px;font-weight:normal">（建议每天的发货打印一个入仓号的条形码号段，以便我们快速录入物流信息）</font></th></tr>
      <tbody>
         <tr>
           <td><strong>入仓号</strong></td>
           <td><strong>操作</strong></td>
         </tr>      
         <?php $_from = $this->_var['rukuhao_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'rukuhaolist');if (count($_from)):
    foreach ($_from AS $this->_var['rukuhaolist']):
?>
         <tr>
          <td><?php echo $this->_var['rukuhaolist']['rukuhao']; ?></td>
          <td><a href="index.php?app=kd_order&act=kehu_print&key=<?php echo $_GET['key']; ?>&rukuhao=<?php echo $this->_var['rukuhaolist']['rukuhao']; ?>" target="_blank" class="links">打印</a></td>
         </tr>   
         <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>      
        </tbody>
    </table>
  <div class="shop_list_page" style="display:none">
  <div class="page">
      <span class="stat"><?php echo sprintf('共 %s 个项目', $this->_var['page_info']['item_count']); ?></span>
      <?php if ($this->_var['page_info']['prev_link']): ?>
      <a class="former" href="<?php echo $this->_var['site_url']; ?>/<?php echo $this->_var['page_info']['prev_link']; ?>#module"><<上一页</a>
      <?php else: ?>
      <span class="former_no"><<上一页</span>
      <?php endif; ?>
      <?php if ($this->_var['page_info']['first_link']): ?>
      <a class="page_link" href="<?php echo $this->_var['site_url']; ?>/<?php echo $this->_var['page_info']['first_link']; ?>#module">1&nbsp;<?php echo $this->_var['page_info']['first_suspen']; ?></a>
      <?php endif; ?>
      <?php $_from = $this->_var['page_info']['page_links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('page', 'link');if (count($_from)):
    foreach ($_from AS $this->_var['page'] => $this->_var['link']):
?>
      <?php if ($this->_var['page_info']['curr_page'] == $this->_var['page']): ?>
      <a class="page_hover"><?php echo $this->_var['page']; ?></a>
      <?php else: ?>
      <a class="page_link" href="<?php echo $this->_var['site_url']; ?>/<?php echo $this->_var['link']; ?>#module"><?php echo $this->_var['page']; ?></a>
      <?php endif; ?>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      <?php if ($this->_var['page_info']['last_link']): ?>
      <a class="page_link" href="<?php echo $this->_var['site_url']; ?>/<?php echo $this->_var['page_info']['last_link']; ?>#module"><?php echo $this->_var['page_info']['last_suspen']; ?><?php echo $this->_var['page_info']['page_count']; ?></a>
      <?php endif; ?>
      <?php if ($this->_var['page_info']['next_link']): ?>
      <a class="down" href="<?php echo $this->_var['site_url']; ?>/<?php echo $this->_var['page_info']['next_link']; ?>#module">下一页>></a>
      <?php else: ?>
      <span class="down_no">下一页</span>
      <?php endif; ?>
      <span class="nonce">共<?php echo $this->_var['page_info']['page_count']; ?>页，到第</span>
      <span class="page_item_button"><input name="CurrPage" id="CurrPage" type="text" class="page_item_input" value="<?php echo $this->_var['page_info']['curr_page']; ?>" page_count="<?php echo $this->_var['page_info']['page_count']; ?>" onkeypress="javascript:EnterPress(event);" /> 页 <input onclick="javascript:TrunTo();" type="button" value="确定" class="page_btn" /></span>
  </div>
  </div>     
    <?php endif; ?> 
    <?php if ($this->_var['rukuhao_print']): ?>
	<style type="text/css">
    .tukuhao_print{width:100%; overflow:hidden}
    .tukuhao_print li{width:168px; float:left;}	
    </style>    
    <table class="table_wuliu">
      <thead>
        <tr><th align="left"><img src="<?php echo $this->res_base . "/" . 'images/about/wuliu_iocn.gif'; ?>" align="absmiddle" /> 打印入仓号【<?php echo $_GET['rukuhao']; ?>】的条形码</th></tr>
      <tbody>
         <tr>
           <td style="font-size:12px;padding:10px"><form action="index.php" method="get"><input type="hidden" value="kd_order" name="app"/><input type="hidden" value="kehu_print" name="act"/>
           <input type="hidden" value="<?php echo $_GET['key']; ?>" name="key"/><input type="hidden" value="<?php echo $_GET['rukuhao']; ?>" name="rukuhao"/>
           最小货号：<input name="rukuhao_small" id="rukuhao_small" type="text" class="input_text" style="width:150px;height:15px;line-height:15px" value="<?php echo $this->_var['search_list']['rukuhao_small']; ?>" maxlength="4" placeholder="请输入最小货号"/>&nbsp;
           最大货号：<input name="rukuhao_big" id="rukuhao_small" type="text" class="input_text" style="width:150px;height:15px;line-height:15px" value="<?php echo $this->_var['search_list']['rukuhao_big']; ?>" maxlength="4" placeholder="请输入最大货号"/>
           <input type="submit" value="确认检索" class="botton_submit" style="font-size:12px;height:27px;line-height:27px;"/>
           </form>
           </td>
         </tr>  
         <form action="index.php?app=kuozhan&act=KehuPrint" method="post"><input type="hidden" value="kuozhan" name="app"/><input type="hidden" value="KehuPrint" name="act"/>     
         <tr>
           <td><label style="color:#00F"><input type="checkbox" class="checkall" /> 全选</label>&nbsp;&nbsp;
            【<span style="font-size:12px;">
            <label><input name="print" type="radio" value="fy" checked/>分页打印</label>&nbsp;&nbsp;
            <label><input name="print" type="radio" value="hb" />合并打印</label></span>】&nbsp;
            【<span style="font-size:12px;">
            <label><input name="number" type="radio" value="two" checked/>打印双份</label>&nbsp;
            <label><input name="number" type="radio" value="one" />打印单份</label></span>】&nbsp;&nbsp;
            <input type="submit" value="打印条形码" class="botton_submit" style="font-size:12px;height:25px;line-height:25px;"/></td>
         </tr>      
         <tr>
          <td>
          <ul class="tukuhao_print">
          <?php $_from = $this->_var['rukuhao_print']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'rukuhaolist');if (count($_from)):
    foreach ($_from AS $this->_var['rukuhaolist']):
?>
          <li><input type="checkbox" name="id[]" class="checkitem" value="<?php echo $this->_var['rukuhaolist']['rukuhao']; ?>"/> <?php echo $this->_var['rukuhaolist']['rukuhao']; ?></li>
          <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          </ul>
          </td>
          </tr> 
          </form>  
        </tbody>
    </table>
    <?php endif; ?>   
   </div>
  </div>
 </div>
 <div class="clear"></div>
 </div>
</div>
<?php echo $this->fetch('footer_jiandan.html'); ?>